<?php
/**
 * licenses : MIT
 * creatTime: 2020/5/15
 * author : weblinuxgame
 * filename: ParamsEnum.php
 */

namespace App\Core\Enums;

/**
 * Interface ParamsEnum
 * @package App\Core\Enums
 */
interface ParamsEnum
{
    const UserId = 'uid';
    const Uuid = 'uuid';
    const ActiveCode = 'activeCode';
    const AccessToken = 'accessToken';
    const UserName = 'username';
    const UserNickName = 'nickname';
    const Token = 'authentication';
    const Email = 'email';
    const DeviceUuid = HeaderEnum::DeviceUUid;
    const Mobile = 'mobile';
    const Phone = 'phone';
    const Gender = 'gender';
    const Avatar = 'avatar';
    const Attach = 'attach';
    const CAPTCHA = 'captcha';
    const SmsCode = 'smsCode';
    const VoiceCode = 'voiceCode';
    const EmailCode = 'emailCode';
    const AdvCode = 'advCode';
    const ThirdCode = 'thirdCode';
    const QrCode = 'qrCode';
    const InviteCode = 'inviteCode';
    const RegCode = 'registerCode';
    const ChannelCode = 'channelCode';

    const ParamsDescMap = [
        self::UserId => '用户id',
        self::Token => '登陆身份令牌',
        self::Uuid => '平台相关资源唯一码',
        self::ActiveCode => '活动码',
        self::AccessToken => '资源访问控制令牌',
        self::DeviceUuid => '设备唯一码',
        self::UserName => '用户名｜账号名',
        self::UserNickName => '用户昵称',
        self::Email => '邮箱地址',
        self::Mobile => '手机号',
        self::Phone => '固定电话',
        self::Gender => '性别',
        self::Avatar => '头像',
        self::Attach => '附件',
        self::CAPTCHA => '图形验证码',
        self::SmsCode => '手机验证码',
        self::VoiceCode => '声音验证码',
        self::EmailCode => '邮箱验证码',
        self::AdvCode => '高级验证码',
        self::ThirdCode => '第三方验证码',
        self::QrCode => '二维码',
        self::InviteCode => '邀请码',
        self::RegCode => '邀请码',
        self::ChannelCode => '渠道码',
    ];
}
